Login:$<%=username%>
Password:$<%=password%>
<%=prompt%>$en
#|Password$<%=ManagementPassword%>
#$con t
#$interface gpon 0/<%=PONindex%>
#$onu add <%=ONUindex%> profile <%=ONUProfileName%> sn <%=sn%>$BREAK
#$onu <%=ONUindex%> desc <%=name%>
#$onu <%=ONUindex%> tcont 1 $BREAK
#$onu <%=ONUindex%> gemport 1 tcont 1
#$onu <%=ONUindex%> gemport 1 traffic-limit upstream <%=uplink%> downstream <%=down%>$BREAK
#$onu <%=ONUindex%> service test gemport 1 vlan <%=vlan%>
#$onu <%=ONUindex%> service-port 1 gemport 1 uservlan <%=vlan%> vlan <%=vlan%>
<% if(mode =='SFU'){ -%>
#$onu <%=ONUindex%> portvlan eth 1 mode tag vlan <%=vlan%>
<% } -%>
<% if(mode =='HGU'){ -%>
#$onu <%=ONUindex%> portvlan veip 1 mode transparent
<% } -%>
#$exit